package com.granada.config.wx;

import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author 刘皓天
 * @version 1.0
 * @description: TODO
 * @date 2021/07/11/15:58
 */
@Component
@Configuration
@PropertySource(value = "classpath:application.properties")
public class WeChatConfig {



    private String appId;


    private String appsecret;


    private String templateId;


    private String forwardUrl;

    // 发送消息的接口的访问凭证
    private String accessToken;


    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppsecret() {
        return appsecret;
    }

    public void setAppsecret(String appsecret) {
        this.appsecret = appsecret;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public String getForwardUrl() {
        return forwardUrl;
    }

    public void setForwardUrl(String forwardUrl) {
        this.forwardUrl = forwardUrl;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }
}
